<div class="modal-body padding-0 service-form-container">
    <ui-tabset>
        <ui-tab select="service.currentForm = 'ats'">
            <ui-tab-heading>自动伸缩</ui-tab-heading>
            <service-form-ats/>
        </ui-tab>
        <ui-tab select="service.currentForm = 'domain'">
            <ui-tab-heading>域名管理</ui-tab-heading>
            <service-form-domain/>
        </ui-tab>
    </ui-tabset>
</div>
<div class="modal-footer">
    <button type="button" ng-click="service.save()" ng-disabled="service.loading" class="btn btn-primary btn-sm">
        <i ng-show="service.loading" class="fa fa-cog fa-lg fa-spin margin-right-5"/>保存
    </button>
    <button ng-click="service.cancel()" type="button" class="btn btn-default btn-sm">取消</button>
</div>